package com.example.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "task")
public class Task implements Serializable{

    @Id
    @Column(name = "pkid")
    private Integer pkId;

    @Column(name="created")
    private Date created;

    @Column(name = "admin_id")
    private Integer adminId;

    @Column(name = "gateway_type")
    private Integer gatewayType;

    @Column(name = "gateway_id")
    private Integer gatewayId;

    @Column(name = "subtask_num")
    private Integer subtaskNum;


    public Integer getPkId() {
        return pkId;
    }

    public void setPkId(Integer pkId) {
        this.pkId = pkId;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public Integer getGatewayType() {
        return gatewayType;
    }

    public void setGatewayType(Integer gatewayType) {
        this.gatewayType = gatewayType;
    }

    public Integer getGatewayId() {
        return gatewayId;
    }

    public void setGatewayId(Integer gatewayId) {
        this.gatewayId = gatewayId;
    }

    public Integer getSubtaskNum() {
        return subtaskNum;
    }

    public void setSubtaskNum(Integer subtaskNum) {
        this.subtaskNum = subtaskNum;
    }
}
